.flex {
  display: flex;
}
.f-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fc {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex1 {
  flex: 1;
}
.gap-10 {
  gap: 10px;
}
.gap-20 {
  gap: 20px;
}
.wrapper {
  color: #fff;
  > .nav-statis {
    display: flex;
    justify-content: space-around;
    align-items: center;
    > .user-huaxiang {
      position: relative;
      display: flex;
      flex-flow: column;

      .text-title {
        height: 28px;
        padding: 0 4px;
        line-height: 28px;
        font-weight: 400;
        width: 100px;
        font-size: 14px;
        text-align: center;
        color: #f2f6ff;
        position: relative;
        &::after {
          content: "";
          width: 100%;
          height: 100%;
          background: #0000 url("@/assets/nx/button.png") no-repeat;
          background-size: 100% 100%;
          position: absolute;
          bottom: 0px;
          left: 0;
          z-index: 4;
        }
      }
    }
    > .nav-item {
      position: relative;
      &:hover {
        .hover-chart {
          visibility: visible;
        }
      }
      > .hover-chart {
        background-color: #1d1f1f75;
        height: 233px;
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translateX(-50%);
        width: 400px;
        visibility: hidden;
        z-index: 3;
        padding: 10px;
        // border-radius: 4%;
        background-image: url("@/assets/imgs/line_back.png");
        background-size: 100% 100%;
        background-repeat: no-repeat;
      }

      > .text-content {
        min-width: 169px;
        height: 100px;
        text-align: center;
        display: flex;
        flex-flow: column;
        gap: 10px;
        justify-content: center;
        position: relative;
        z-index: 0;
        .empty-ele {
          position: absolute;
          left: 50%;
          transform: translateX(-50%);
          width: 99%;
          height: 100px;
          z-index: 1;
          // background-color: wheat;
          background: #0000 url("@/assets/imgs/ani_2.png") no-repeat;
          background-position: 0 0px;
          background-size: 100% auto;
        }
        .text-label {
          position: relative;
          z-index: 2;
          font-weight: 400;
          font-size: 14px;
          color: #bbc5cf;
        }
        .text-value {
          font-family: "YouSheBiaoTiHei";
          position: relative;
          z-index: 2;
          font-weight: 400;
          font-size: 36px;
          color: #68cbf0;
          text-shadow: 1px 4px 0 #030a13cf;
        }
        &::before {
          content: "";
          width: 100%;
          height: 100%;
          background: #0000 url("@/assets/imgs/ani_1.png") no-repeat;
          background-size: 100% auto;
          // background-position: 0 28px;
          position: absolute;
          bottom: -10px;
          left: 0;
          z-index: -1;
          animation: upto 1.2s infinite;
        }
        &::after {
          content: "";
          width: 100%;
          height: 100%;
          background: #0000 url("@/assets/nx/shuju.png") no-repeat;
          background-size: 100% auto;
          // background-position: 0 28px;
          position: absolute;
          bottom: -10px;
          left: 0;
          z-index: -1;
        }
      }
    }
  }
  > .container {
    position: absolute;
    padding: 10px;
    width: calc(100% - 1px);
    height: calc(100% - 200px - 33px);
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 1.1fr;
    grid-template-rows: 1fr 0.8fr 1.2fr;
    gap: 10px 10px;
    grid-auto-flow: row;
    grid-template-areas:
      "area-1 map area-4"
      "area-2 map area-5"
      "area-3 map area-6";
    // pointer-events: none;
  }

  .map {
    grid-area: map;
    //background-color: #68ccf00c;
    height: 100%;
    position: relative;
  }

  .area-1 {
    grid-area: area-1;
    //background-color: #68ccf00c;
    display: flex;
    pointer-events: all;
  }

  .area-2 {
    grid-area: area-2;
    pointer-events: all;
  }

  .area-3 {
    grid-area: area-3;
    pointer-events: all;
  }

  .area-4 {
    grid-area: area-4;
    pointer-events: all;
  }

  .area-5 {
    grid-area: area-5;
    pointer-events: all;
  }
  .area-6 {
    grid-area: area-6;
    pointer-events: all;
  }
  .nav-title {
    font-family: "YouSheBiaoTiHei";
    position: relative;
    z-index: 0;
    width: 100%;
    padding-left: 57px;
    height: 46px;
    line-height: 46px;
    font-weight: 400;
    font-size: 18px;
    text-align: left;
    color: #ffffff;
    text-shadow: 1px 5px 5px #1a191985;
    &::after {
      content: "";
      width: 100%;
      height: 100%;
      background: #0000 url("@/assets/nx/xiaobiaoti.png") no-repeat;
      background-size: contain;
      position: absolute;
      bottom: 0px;
      left: 0;
      z-index: -1;
    }
  }
}
.ageNumBack {
  height: 220px;
  width: 220px;
  position: absolute;
  top: 3%;
  left: 18%;
  // transform: translate(-50%,-50%);
  background-image: url("@/assets/imgs/back1.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation: turn 10s linear infinite;
}
.typeNumBack {
  height: 200px * 0.8;
  width: 260px * 0.8;
  top: 16%;
  left: 20%;
  position: absolute;
  background-image: url("@/assets/imgs/back2.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation: turn 10s linear infinite;
}
.chart-fiveType {
  position: relative;
  z-index: 0;
  &::after {
    content: "";
    height: 100%;
    width: 100%;
    top: 0%;
    left: 0%;
    position: absolute;
    background-image: url("@/assets/imgs/back3.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: turn 10s linear infinite;
    z-index: -1;
  }
}
@keyframes upto {
  from {
    transform: translate(0, 20px);
    opacity: 1;
  }

  to {
    transform: translate(0, -20px);
    opacity: 0;
  }
}
/* 
turn : 定义的动画名称
10s : 动画时间
linear : 动画平滑
infinite :使动画无限循环
transform:rotate(旋转角度)
%0:动画开始
%100:动画结束
*/
@keyframes turn {
  0% {
    transform: rotate(360deg);
  }

  20% {
    transform: rotate(288deg);
  }

  40% {
    transform: rotate(216deg);
  }

  60% {
    transform: rotate(144deg);
  }

  80% {
    transform: rotate(72deg);
  }

  100% {
    transform: rotate(0deg);
  }
}
